package dfbz.demo05;

public class Test02 {
    public static void main(String[] args) {
        int i=1;
        int sum=1;
        do{
            sum*=i;
            i++;
        }while (i<=7);
        System.out.println(sum);
    }
}
